home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / LIFER__ / PROTO / P / PUTILS_L.H < prev   
Text File  |  1991-07-23  |  1KB  |  32 lines

  1. /*  PUtils_Life                                                              Utilities
  2.  
  3. File name:  PUtils_Life.h  
  4. Function:  Utilities for the Prototyper specific code.
  5. History: 7/23/91 Original by Prototyper 3.0   */
  6.  
  7.  
  8. /* ======================================================= */
  9.  
  10. /* See if a trap is available */
  11. Boolean TrapAvailable (short trapNumber, short tType);
  12.  
  13. /* See if any user events are available */
  14. void GetUserEvent(UserEventPRec TheUserEvent);
  15.  
  16. /* Add a user event */
  17. void Add_UserEvent(short ID, short ID2, long  Data1, long Data2, Handle  theHandle);
  18.  
  19. /* This is a routine used to get a string from a TE area, limited to 250 characters */
  20. void Get_TE_String(TEHandle theTEArea, Str255 *theString); 
  21.  
  22. /* This is a routine used to create a TE area */
  23. void Make_TE_Area(TEHandle *theTEArea, Rect *Position, short theFontSize, short theFont, short DefaultStringID); 
  24.  
  25. /* Setup a dialog or alert item */
  26. void SetupTheItem (DialogPtr theDialog, short ItemID, Boolean SizeIt, Boolean ShowIt, Boolean EnableIt, Boolean SetTheMax,
  27.             Rect * thePosition , long ExtraData , short StringID );
  28.  
  29.  
  30. /* ======================================================= */
  31.  
  32.